package Mangos::DB::Mangos::CreatureBattleground;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'creature_battleground',

    columns => 
    [
        guid   => { type => 'integer', not_null => 1 },
        event1 => { type => 'integer', not_null => 1 },
        event2 => { type => 'integer', not_null => 1 },
    ],

    primary_key_columns => [ 'guid' ],
);

1;

package Mangos::DB::Mangos::CreatureBattleground::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::CreatureBattleground' }

__PACKAGE__->make_manager_methods('creature_battleground');

1;
